package one.stand.request.essay;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import one.stand.request.BaseRequest;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author luoyang
 * @date 2020/5/9 16:33
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value="GoodsQuery对象", description="商品查询")
public class GoodsQuery extends BaseRequest implements Serializable {


    @NotNull(message = "公司不能为空")
    @ApiModelProperty(value = "公司id",required = true)
    private Integer companyId;


}
